package cn.accp.carFactory.base;

/**
 * 轮胎抽象类
 * 
 * @author Jiangqs
 * 
 */
public abstract class Tyre {

	public Tyre(String name, String specification, String brand) {
		this.setName(name);
		this.setSpecification(specification);
		this.setBrand(brand);
	}

	// 品名
	private String name;
	// 规格
	private String Specification;
	// 品牌
	private String brand;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getSpecification() {
		return Specification;
	}

	public void setSpecification(String specification) {
		Specification = specification;
	}

	@Override
	public String toString() {
		return this.brand + "," + this.name + "," + this.Specification + ",";
	}
}
